package com.sq.orders.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;

/**
 * (Orders)表实体类
 *
 * @author 全哥哥
 * @since 2025-05-13 10:40:03
 */
@Data
public class Orders extends Model<Orders> {

    private Integer id;

    private Integer userId;

    private String orderName;

    private Double price;

    @TableField(exist = false)
    private User user;
}

